package com.baizhi.service.imp;

import com.baizhi.dao.MenuDao;
import com.baizhi.entity.Menu;
import com.baizhi.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MenuServiceImp implements MenuService {

    @Resource
    private MenuDao menuDao;

    @Override
    public List<Menu> findMenus() {
        return menuDao.selectMenus();
    }
}
